package projeto;

public class ImovelRural extends Imoveis {
	private String armazem;
	private String instalAnimal;

	public ImovelRural(int id, String proprietario, String localizacao, double area, String armazem, String instalAnimal) {
		super(id, proprietario, localizacao, area);
		setArmazem(armazem);
		setInstalAnimal(instalAnimal);
	}

	public String getArmazem() {
		return armazem;
	}

	public void setArmazem(String armazem) {
		this.armazem = armazem;
	}

	public String getInstalAnimal() {
		return instalAnimal;
	}

	public void setInstalAnimal(String instalAnimal) {
		this.instalAnimal = instalAnimal;
	}
	public String toString() {
		return super.toString() + "\nArmazem: " + armazem + "\nInstalacao Para animal: " + instalAnimal + "\n";
	}

}
